﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<dynamic>" %>
<td width="66%" valign="top" class="Table">
    <table width="100%" cellspacing="0" cellpadding="0">
        <tr>
            <td style="padding-top: 5px">
                <table width="100%" cellspacing="0" cellpadding="0">
                    <tr>
                        <td height="34" background="<%=Url.Content("~/Images/bg-title-blue.gif")%>">
                            <table width="100%" cellspacing="0" cellpadding="0">
                                <tr>
                                    <td width="4%">
                                        &nbsp;
                                    </td>
                                    <td width="96%" class="Title-white">
                                        DỰ ÁN ĐIỂN HÌNH
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <%
            if (Model != null && Model.ProductId != 0)%>
        <%
            {
        %>
        <tr>
            <td valign="top">
                <div id="content">
                    <img src="<%=Url.Content(Model.Image)%>" width="175" height="130">
                    <div style="float: right; width: 7px; height: 130px;">
                    </div>
                    <%=(HttpUtility.HtmlDecode(Model.Description)).Substring(0, 800)%>...
                </div>
            </td>
        </tr>
        <tr>
            <td valign="top">
                <div align="right" style="padding-right: 5px;">
                    <span class="Link-organe">
                        <%:Html.ActionLink("Xem tiếp", "Detail", new {controller = "Product", ID = Model.ProductId},
                                      new {@class = "Link-organe"})%>
                    </span>&nbsp;
                    <img src="<%=Url.Content("~/Images/arrow-organe.gif")%>" width="4" height="7" /></div>
            </td>
        </tr>
        <%
            }
        %>
    </table>
</td>